package com.huangpuweb.task.service.imp;

import com.huangpuweb.task.model.QzYwjkPassagerFlow;
import com.huangpuweb.task.model.QzYwjkPassagerFlowRowMapper;
import com.huangpuweb.task.service.SyncQzHpCgzfiFibDataService;
import org.springframework.stereotype.Service;

@Service
public class SyncQzHpCgzfjFjbDataServiceImp extends BaseQzHpCgzfjFjbDataServiceImp implements SyncQzHpCgzfiFibDataService {


    @Override
    public QzYwjkPassagerFlow getQzYwJkPassagerFlowBySpotid(String spotid) {
        String sql="select * from ywjk_passagerflow where spotid=? order by updatetimer desc limit 0,1";
        return getEntry(sql,new QzYwjkPassagerFlowRowMapper(),new Object[]{spotid});
    }




}
